package com.feducation.enums;

/**
 * 订单状态枚举类
 */
public enum OrderStatusEnum {

    /**
     * 取消订单
     */
    CANCEL(-1,"订单已取消"),
    /**
     * 创建订单
     */
    RECRUIT(0,"招募教师中"),
    /**
     * 有教师接受订单
     */
    ACCEPTED(1,"已有教师接受"),
    /**
     * 订单内容正在进行
     */
    UNDERWAY(2,"正在进行"),
    /**
     * 完成订单内容
     */
    FINISH(3,"订单已完成");

    private Integer num;
    private String value;

    public Integer getNum() {
        return num;
    }
    public void setNum(Integer num) {
        this.num = num;
    }

    public String getValue() {
        return value;
    }
    public void setValue(String value) {
        this.value = value;
    }
    OrderStatusEnum(Integer num,String value){
        this.num = num;
        this.value = value;
    }

}
